<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<title>企业客户选择</title><span id="navlink">贷款申请 >> 企业客户选择</span>

<meta name="decorator" content="none"/>

<s:div id="button_area">
${clientName }
</s:div>

<s:div id="right_area">
	单位：元
</s:div>

<table class="table_box table_bottom_border">
	<tr>
		<th colspan="4" align="center">贷款发放详情表</th>
	</tr>
	<s:if test="listLoan==null">
	<tr>
		<td colspan="4" align="center">暂无记录</td>
	</tr>
	</s:if><s:else>
	<tr>
		<th>贷款发放日期</th>
		<th>应还款日期</th>
		<th>贷款发放金额</th>
		<th>实际还款金额</th>
	</tr>
	<s:iterator value="listLoan" status="index" var="var">
		<tr>
			<td style="text-align:center;width:100px"><s:date name="grantdate" format="yyyy-MM-dd"/></td>
			<td style="text-align:center;width:100px"><s:date name="refunddate" format="yyyy-MM-dd"/></td>
			<td><s:text name="f.money"><s:param value="grantmoney"/></s:text></td>
			<td><s:text name="f.money"><s:param value="backmoney"/></s:text></td>
		</tr>
	</s:iterator>
	</s:else>
</table>

<br/>
<hr/>
<br/>
<table class="table_box table_bottom_border">
	<tr>
		<th colspan="4" align="center">还款详情表</th>
	</tr>
	<s:if test="listBack==null">
	<tr>
		<td colspan="4" align="center">暂无记录</td>
	</tr>
	</s:if><s:else>
	<tr>
		<th>贷款发放日期</th>
		<th>应还款日期</th>
		<th>实际还款日期</th>
		<th>实际还款金额</th>
	</tr>
	<s:iterator value="listBack" status="index" var="var">
		<tr>
			<td style="text-align:center;width:100px"><s:date name="grantdate" format="yyyy-MM-dd"/></td>
			<td style="text-align:center;width:100px"><s:date name="refunddate" format="yyyy-MM-dd"/></td>
			<td style="text-align:center;width:100px"><s:date name="repaydate" format="yyyy-MM-dd"/></td>
			<td><s:text name="f.money"><s:param value="grantmoney"/></s:text></td>
		</tr>
	</s:iterator>
	</s:else>
</table>